/* indent size: 2 */

module.exports = app => {
  const DataTypes = app.Sequelize;

  const Model = app.model.define('sign', {
    id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true,
      autoIncrement: true,
    },
    num: {
      type: DataTypes.STRING(255),
      allowNull: true,
    },
    lable: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    genre: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    lowmoney: {
      type: 'DOUBLE',
      allowNull: true,
    },
    addmoney: {
      type: 'DOUBLE',
      allowNull: true,
    },
    largemoney: {
      type: 'DOUBLE',
      allowNull: true,
    },
    manner: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    ditch: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    sift: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    noob: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    raisedate: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    timetype: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    timevalue: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
    putawaytime: {
      type: DataTypes.DATE,
      allowNull: true,
    },
    saletime: {
      type: DataTypes.DATE,
      allowNull: true,
    },
    introduce: {
      type: DataTypes.STRING(255),
      allowNull: true,
    },
    step: {
      type: DataTypes.STRING(255),
      allowNull: true,
    },
    state: {
      type: DataTypes.INTEGER(11),
      allowNull: true,
    },
  }, {
    tableName: 'sign',
  });

  Model.associate = function() {

  };

  return Model;
};
